package com.boot.security;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;

@EnableDiscoveryClient
@SpringBootApplication
public class SecurityServiceApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SecurityServiceApplication.class, args);
        //        System.out.println(context.getEnvironment().getProperty("mysql.host", String.class));
        //        System.out.println(context.getEnvironment().getProperty("redis.host", String.class));
    }

}
